/*
 * @Description: 题库api
 * @Version: 2.0
 * @Autor: Seven
 * @Date: 2020-12-14 17:09:15
 * @LastEditors: Seven
 * @LastEditTime: 2020-12-15 11:34:25
 */
// 获取题库列表
// topicType 1.历年试题 2. 模拟试题 3. 单题 4.每日一练
// subjectId 科目ID 语文、数学等
// isFree 是否免费 1. 免费 0.收费
// page 当前页码
// pageSize 每页数量
import request from '~/api/request';
export const getQuestionList = function(topicType,subjectId,isFree,page,pageSize){
    return request({
        url: `/edu/question/list`,
        method:'get',
        params:{
            topicType,
            subjectId,
            isFree,
            page,
            pageSize
        }
    })
}